﻿using System.Web.Mvc;
using P7DC.Common.Attribute;

namespace P7DC.Web.Common.Attribute
{
	class SessionExpireAttribute : AbstractSessionExpireAttribute
	{
		public override ActionResult OnSessionExpiryRedirectResult(ActionExecutingContext filterContext)
		{
			return new RedirectToRouteResult(MVC.Account.LogOn().GetRouteValueDictionary());
		}
	}
}